package com.yunxi.dealer.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 渠道商仓库地址
 * </p>
 *
 * @author 
 * @since 2019-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)

@ApiModel(value="PartnerStorage对象", description="渠道商仓库地址")
public class PartnerStorageVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private String storageId;

    @ApiModelProperty(value = "伙伴ID")
    private String partnerCode;

    private String partnerName;

    @ApiModelProperty(value = "仓库代码")
    private String storageCode;

    @ApiModelProperty(value = "仓库名称")
    private String storageName;

    @ApiModelProperty(value = "联系人")
    private String linkMan;

    @ApiModelProperty(value = "联系电话")
    private String linkPhone;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String region;

    @ApiModelProperty(value = "地址")
    private String addr;

    @ApiModelProperty(value = "百度坐标x")
    private String gpsBaiduX;

    @ApiModelProperty(value = "百度坐标y")
    private String gpsBaiduY;

    @ApiModelProperty(value = "版本")
    private Integer version;

    @ApiModelProperty(value = "是否发送")
    private Integer isSend;

    @ApiModelProperty(value = "行政区划code+name")
    private String areaCodeWithName;


}
